package com.ld.control.business.process.vo.resp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
public class ProcessNodeExampleDetailsResp {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "任务流程实例id")
    private Long processExampleId;

    @Schema(description = "节点状态，见代码枚举")
    private Integer status;

    @Schema(description = "节点名称")
    private String nodeName;

    @Schema(description = "开始运行的时间")
    private Date startTime;

    @Schema(description = "结束运行时间")
    private Date endTime;

    @Schema(description = "流程节点源id")
    private String sourceNodeId;

    @Schema(description = "流程节点目标id")
    private String targetNodeId;

    @Schema(description = "节点用到的设备id")
    private Long equipmentId;

    @Schema(description = "节点用到的方法id")
    private Long equipmentMethodExampleId;

    @Schema(description = "节点标识：0非设备节点，1设备节点")
    private Integer nodeFlag;

    @Schema(description = "预计执行时间")
    private Integer estimatedTime;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "节点参数信息")
    private Map<String, Object> paramList;

    @Schema(description = "节点参数信息-new")
    List<ProcessNodeParamExampleRespVo> nodeParamList;

}
